package org.zuel.boot.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ikun
 * @since 2025-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("employment")
@ApiModel(value="Employment", description="")
    public class Employment implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键（自增唯一标识）")
    @TableId(value = "id", type = IdType.AUTO)
private Integer id;

                @TableField("employee_id")

    
    
    
private Integer employeeId;
    @TableField("employee_name")
    private String employeeName;

                @TableField("employer_id")

    
    
    
private Integer employerId;
    @TableField("employer_name")
    private String employerName;

                @TableField("state")

    
    
    
private Integer state;

                @TableField("create_time")

    
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    
private Date createTime;

                @TableField("update_time")

    
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    
private Date updateTime;

                @TableField("deleted")

    
    
        @TableLogic

private Integer deleted;




}